package net.sk.china.city.mapper;

import java.util.List;
import net.sk.china.city.domain.ArSupermarketCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 商品分类Mapper接口
 * 
 * @author gxf
 * @date 2024-04-25
 */
public interface ArSupermarketCategoryMapper extends BaseMapper<ArSupermarketCategory>
{
    /**
     * 查询商品分类
     * 
     * @param id 商品分类主键
     * @return 商品分类
     */
    public ArSupermarketCategory selectArSupermarketCategoryById(Long id);

    /**
     * 查询商品分类列表
     * 
     * @param arSupermarketCategory 商品分类
     * @return 商品分类集合
     */
    public List<ArSupermarketCategory> selectArSupermarketCategoryList(ArSupermarketCategory arSupermarketCategory);

    /**
     * 新增商品分类
     * 
     * @param arSupermarketCategory 商品分类
     * @return 结果
     */
    public int insertArSupermarketCategory(ArSupermarketCategory arSupermarketCategory);

    /**
     * 修改商品分类
     * 
     * @param arSupermarketCategory 商品分类
     * @return 结果
     */
    public int updateArSupermarketCategory(ArSupermarketCategory arSupermarketCategory);

    /**
     * 删除商品分类
     * 
     * @param id 商品分类主键
     * @return 结果
     */
    public int deleteArSupermarketCategoryById(Long id);

    /**
     * 批量删除商品分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArSupermarketCategoryByIds(Long[] ids);
}
